<div class="yuList">
      <div class="yuSuo clearfix" style="float:left;">
          <input type="hidden" id="t" value="{$t}"/>
          <input id="uid" name="uid" type="text" placeholder="个人ID" value="{$params.uid}" class="suoDian" />
          <input id="phone" name="phone" type="text" placeholder="请输入账号" value="{$params.phone}" class="suoDian" />
          <input id="real_name" name="real_name" type="text" placeholder="请输入姓名" value="{$params.real_name}" class="suoDian" />
          <input id="id_card" name="id_card" type="text" placeholder="请输入身份证" value="{$params.id_card}" class="suoDian" />
          <input id="start_time" name="start_time" type="text" readonly placeholder="开始时间" value="{$params.start_time}" class="suoDian" style="height: 26px;" />
          <em></em>
          <input id="end_time" name="end_time" type="text" readonly placeholder="结束时间" value="{$params.end_time}" class="suoDian"  style="height: 26px;" />
          <input type="button" onclick="RedPacket.s({$t},{$p});return false;" value="搜索" class="suoSou" style="width:80px;" />
      </div>
      <div class="clear"></div>
    <if condition="($t==2)">
      <div class="yuSuo clearfix" style="float:left;width: 100%">
        <input type="button" onclick="batch_withdraw();return false;" value="批量提现" class="suoSou" style="width:80px;" />
      </div>
    </if>
    <div class="totalConter" style="padding-top:0;">
        <i>合计：</i>记录<b id="fewPens">{$list.count}</b>
        金额<b id="recharge">{:number_format($list['sum']['total_amount'],2)}</b>元
    </div>
    <table class="table">
          <thead>
              <tr>
                  <if condition="($t==2)"><th><input type="checkbox" id="check_all" />全选</th></if>
                  <th width="10%">个人ID</th>
                  <th>账号</th>
                  <th>提取金额</th>
                  <th>姓名</th>
                  <th>身份证号</th>
                  <th>开户行</th>
                  <th>银行卡号</th>
                  <if condition="($t==2)"><th>创建时间</th><th>操作</th></if>
                  <if condition="($t==3)"><th>提现时间</th></if>
                  <if condition="($t==4)"><th>处理时间</th><th>备注</th></if>
              </tr>
          </thead>
          <tbody>
              <foreach name="list.list" item="row">
                  <tr>
                      <if condition="($t==2)"><td><label><input name="check_row" value="{$row.id}"  type="checkbox"></label></td></if>
                      <td>{$row.uid}</td>
                      <td>{$row.sms_mobile}</td>
                      <td>{:number_format($row['amount'],2)}</td>
                      <td>{$row.real_name}</td>
                      <td>{$row.u_idcard}</td>
                      <td>{$row.bank_name}</td>
                      <td>{$row.card_no}</td>
                      <if condition="($t==2)">
                        <td>{$row.create_time}</td>
                        <td><a href="{:U('/RedPackets/withdraw',['id'=>$row['id']])}">提现</a></td>
                      </if>
                      <if condition="($t==3)"><td>{$row.last_update}</td></td></if>
                      <if condition="($t==4)"><td>{$row.last_update}</td><td>{$row.remark}</td></if>
                  </tr>
              </foreach>

          </tbody>
      </table>
    <div class="pageFaye">
        <div class="pager">
            {$page_show}
        </div>
        <div class="clear"></div>
    </div>
</div>